package com.sisgesbyte.data.entity.seguridad;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedNativeQuery;


@Entity
@NamedNativeQuery(name = "seguridad.insertarUsuario",
				  query = "SELECT * from seguridad.sp_insertar_usuario(:empredaid,:usuario_sys,:clave_sys,:rol)", 
				  resultClass = InsertaUsuarioEntity.class)
public class InsertaUsuarioEntity implements Serializable{

	private static final long serialVersionUID = 1L;
	
	@Id
	private int cod_error;
	private String msj_error;
	
	public InsertaUsuarioEntity(){
		
	}

	public int getCod_error() {
		return cod_error;
	}

	public void setCod_error(int cod_error) {
		this.cod_error = cod_error;
	}

	public String getMsj_error() {
		return msj_error;
	}

	public void setMsj_error(String msj_error) {
		this.msj_error = msj_error;
	}

	
}
